package com.example.demo.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.demo.domain.entity.UserCommunicationLikes;
import com.example.demo.mapper.UserCommunicationLikesMapper;
import com.example.demo.service.UserCommunicationLikesService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
* @author Administrator
* @description 针对表【user_communication_likes(用户点赞帖子关系表)】的数据库操作Service实现
* @createDate 2024-08-10 19:21:52
*/
@Service
public class UserCommunicationLikesServiceImpl extends ServiceImpl<UserCommunicationLikesMapper, UserCommunicationLikes>
    implements UserCommunicationLikesService {

    @Resource
    private UserCommunicationLikesMapper userCommunicationLikesMapper;

    @Override
    public List<Long> queryLikes(Long id) {
        return userCommunicationLikesMapper.queryLikes(id);
    }
}




